package weixinkeji.dev.h;

import sys.wx.c.ATR;
import sys.wx.ann.hm.H;
import sys.wx.ann.hm.M;
import sys.wx.xy.XY;

/**
 *
 * @author IK
 */
@H("weixinkeji/dev/power/user/sysuser/login")
public class UserLoginOut {

    @M(value = "/out", take = ATR.NO_TAKE)//weixinkeji/dev/power/user/sysuser/login/out.imy
    public static String a1(ATR a) {
        if (null != a.session.getAttribute(XY.SESSION_LOGIN)) {
            a.session.removeAttribute(XY.SESSION_LOGIN);
        }
        if (null != a.session.getAttribute(XY.LOGIN_POWER)) {
            a.session.removeAttribute(XY.LOGIN_POWER);
        }
        return "/managerLogin.jsp";
    }
}
